//
//  BuilderParams.h
//  ArchitectDemo
//
//  Created by 姚胜龙 on 2017/7/5.
//  Copyright © 2017年 姚胜龙. All rights reserved.
//

#import <UIKit/UIKit.h>

//构建者参数对象
@interface BuilderParams : NSObject

//使用UIViewController来承接上下文
@property (nonatomic, strong, nonnull) UIViewController *context;
//alert的提示标题
@property (nonatomic, strong, nullable) NSString *title;
//alert的提示信息
@property (nonatomic, strong, nullable) NSString *message;
//取消按钮标题
@property (nonatomic, strong, nullable) NSString *cancelTitle;
//确定按钮标题
@property (nonatomic, strong, nullable) NSString *confirmTitle;
//确定按钮的回调
@property (nonatomic, nullable,copy) void (^confirmHandler)(UIAlertAction * _Nullable action);
@property (nonatomic, nullable, copy) void (^cancelHandler)(UIAlertAction * _Nullable action);

- (instancetype _Nonnull)initWithContext:(UIViewController *_Nonnull)context;

@end
